home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / swb928g.zip / VGAGIF.DOC < prev    next >
Text File  |  1987-11-17  |  5KB  |  116 lines

  1.  
  2. *****************************************************************************
  3.                                   V G A G I F
  4.                     GIF Decoder for VGA and compatible cards
  5.                                     Rev 2.0
  6.  
  7.                      Copyright (c) 1987 by Michael Vigneau
  8. *****************************************************************************
  9.  
  10.    VGAGIF is a program that will display a GIF (Graphics Interchange Format)
  11. image using VGA mode 13h, also known as "multi-color" or "MCGA" mode.
  12. VGAGIF can handle any image up to 720 x 400 pixels, and up to 256 total 
  13. colors.  A Zoom/Scroll mode is also supported.
  14.  
  15.    VGAGIF requires 40K of free memory to run, and at least 330K free to
  16. use the Zoom feature.
  17.  
  18.    The format for VGAGIF is:
  19.  
  20.        [d:path\]VGAGIF [-options] [d:path\]gif-file[.gif]
  21.  
  22.    Options are:
  23.          -z    Zoom mode
  24.  
  25.    If Zoom mode is selected, the image is stored in memory, and then 
  26. displayed.  Otherwise, the image is displayed as it is decoded.
  27.  
  28.    VGAGIF uses BIOS calls to set the Video Mode and Palette.  Because of this,
  29. the program -should- work correctly with "VGA compatible" cards.  Note that
  30. the program writes directly to video memory when displaying an image; boards 
  31. that do not handle this correctly will not work with VGAGIF.
  32.  
  33.  
  34. PIXEL SKIPPING
  35.  
  36.    If the image is larger than 320 pixels across or 200 pixels down, it will
  37. be displayed by skipping every other pixel.  This will allow the full image
  38. to be seen on the screen.  
  39.  
  40.    Unfortunately, pixel skipping will often adversely affect the quality of 
  41. the image, especially those that contain pseudo-colors made by 
  42. "checkerboarding" two different colors.  The pixel skipping will drop out 
  43. one color, displaying a solid (and wrong) color instead.  This problem occurs
  44. mostly with "paint" program images, and least with "smooth" digitized images.
  45.  
  46.    Note that all pixel skipping problems can be overcome by using Zoom Mode
  47. (see below).
  48.  
  49.  
  50. WHAT?? NO HI-RES?
  51.  
  52.    By now you may have realized that VGAGIF does not use the Hi-Res
  53. (640x480) mode of the VGA, thought by many to be the "real" VGA mode.  There
  54. are several reasons for this.
  55.  
  56.    Firstly, I believe that the best advantage of VGA over EGA, at least for
  57. GIF files, is the much larger color palette, not the increased resolution.
  58. The 640x480 mode has more lines than EGA, but it still can only do 16
  59. colors.  This is simply not good enough for rendering high-quality digitized
  60. photos, regardless of resolution.  Most Amiga-made GIF files are 320x200;
  61. they look great because all those extra colors make up for the "lack" of
  62. resolution.  More colors allow greater range of shading and gradation; in
  63. other words, more "realism".
  64.  
  65.    The "multi-color" mode of the VGA allows 256 different colors to be
  66. displayed at once.  These colors are chosen from a pallette of 262,144
  67. total colors.  Using this mode, even 256-color GIF files like VANNA
  68. and EARTH are quite accurately reproduced.
  69.  
  70.    However, if you are longing for 640x480, you should use Ray McVay's
  71. EGAGIF program.  If you use "-m18" as an option, EGAGIF will use the VGA
  72. hi-res mode.
  73.  
  74.  
  75. ZOOM MODE
  76.  
  77.    Zoom mode allows you to see full detail on images larger than 320x200,
  78. as well as "blowing up" these images even further.  Zoom mode uses quite
  79. a bit of memory, in order to store an entire 640x400 image.
  80.  
  81.    When Zoom mode is selected, VGAGIF will load the image into memory before 
  82. displaying it.  To zoom in, press the grey "+" key next to the numeric 
  83. keypad.  To zoom out, use the grey "-" key.  You can scroll around the image 
  84. quickly with the cursor arrow keys; holding Shift down while using the arrows 
  85. will scroll by a very small amount (assuming NumLock is off). Pressing [Home]
  86. will bring you to the top left corner, while [End] will bring you to the 
  87. bottom right.  Any other key will clear the screen and end the program.
  88.  
  89.  
  90. HANDY MS-DOS TIP
  91.  
  92.    To display all GIF pictures in a directory, type the following line at the
  93. DOS prompt:
  94.  
  95.            FOR %X IN (*.GIF) DO VGAGIF %X
  96.  
  97.    Put any options desired between the "VGAGIF" and the final "%X".
  98.  
  99.  
  100. FEEDBACK
  101.  
  102.    If you find VGAGIF to be useful to you, I would like to hear from you.
  103. I am open to suggestions for improvements.  Please correspond via Easyplex
  104. to [76703,4275] or write a letter to:
  105.  
  106.    Michael Vigneau
  107.    25 Emerald St.
  108.    Newton, MA  02158
  109.  
  110. I hope you enjoy using VGAGIF.
  111.  
  112. ----------------------
  113.  GIF and 'Graphics Interchange Format' are trademarks (tm) of
  114.  CompuServe Incorporated, an H&R Block Company.
  115.  
  116.